package com.kingmed.kmss.bpmn.modules.backup.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 审批追踪表
 * </p>
 *
 * @author wzg
 * @since 2023-02-19
 */
@Getter
@Setter
@TableName("biz_approval_trail")
@ApiModel(value = "BizApprovalTrail对象", description = "审批追踪表")
public class BizApprovalTrail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("业务表ID")
    private String businessId;

    @ApiModelProperty("业务类型- 可以用模块-功能的名称，如：mkt-act")
    private String bizType;

    @ApiModelProperty("business key - 根据business type生成的唯一的业务流程编号")
    private String bizKey;

    @ApiModelProperty("处理结果")
    private String approvalResult;

    @ApiModelProperty("审批意见")
    private String comment;

    @ApiModelProperty("流程实例ID")
    private String procInstId;

    @ApiModelProperty("处理人")
    private String approvedBy;

    @ApiModelProperty("处理人")
    private String approvedByName;

    @ApiModelProperty("处理人部门")
    private String approverDept;

    @ApiModelProperty("审批时间")
    private Date approveTime;
    
    @ApiModelProperty("流程类型")
    private Integer processType;
}
